
<!DOCTYPE HTML>
<html lang="">
<head>
<meta charset="UTF-8">
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>关闭订单 · IUPAY</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="">
<meta name="generator" content="GitBook 3.2.3">
<link href="https://cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet"><link rel="stylesheet" href="../gitbook/style.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-search/search.css">
<link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
<meta name="HandheldFriendly" content="true"/>
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
<link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">
<link rel="next" href="refund.html" />
<link rel="prev" href="query.html" />
</head>
<body>
<div class="book">
    <div class="book-summary">
        <div id="book-search-input" role="search">
            <input type="text" placeholder="Type to search" />
        </div>
        <nav role="navigation">
            <ul class="summary">
                <li class="chapter " data-level="1.1">
                    <a target="_blank" href="https://pay.iuact.com">
                        返回首页
                    </a>
                </li>
                <li class="chapter " data-level="1.2" data-path="../questions/about.html">
                    <a href="../questions/about.html">
                        关于IUPAY
                    </a>
                </li>
                <li class="chapter " data-level="1.3" data-path="../">
                    <a href="../index.html">
                        文档目录
                    </a>
                </li>
                <li class="chapter " data-level="1.4" data-path="../questions/">
                    <a href="../questions/index.html">
                        综合问题
                    </a>
                    <ul class="articles">
                        <li class="chapter " data-level="1.4.1" data-path="../questions/account.html">
                            <a href="../questions/account.html">
                                账户使用
                            </a>
                        </li>
                        <li class="chapter " data-level="1.4.2" data-path="../questions/settleaccount.html">
                            <a href="../questions/settleaccount.html">
                                资金结算
                            </a>
                        </li>
                        <li class="chapter " data-level="1.4.3" data-path="../questions/rate.html">
                            <a href="../questions/rate.html">
                                费用费率
                            </a>
                        </li>
                        <li class="chapter " data-level="1.4.4" data-path="../questions/agreement.html">
                            <a href="../questions/agreement.html">
                                用户协议
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="chapter " data-level="1.5" data-path="./">
                    <a href="index.html">
                        微信支付小微商户
                    </a>
                    <ul class="articles">
                        <li class="chapter " data-level="1.5.1" data-path="intro.html">
                            <a href="intro.html">
                                产品介绍
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.2" data-path="native.html">
                            <a href="native.html">
                                Native支付（扫码支付）
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.3" data-path="qrpay.html">
                            <a href="qrpay.html">
                                付款码支付（用户被扫）
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.4" data-path="openid.html">
                            <a href="openid.html">
                                获取OPENID
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.5" data-path="jsapi.html">
                            <a href="jsapi.html">
                                JSAPI支付（公众号支付）
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.6" data-path="miniapp.html">
                            <a href="miniapp.html">
                                小程序支付
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.7" data-path="query.html">
                            <a href="query.html">
                                交易订单查询
                            </a>
                        </li>
                        <li class="chapter active" data-level="1.5.8" data-path="cancle.html">
                            <a href="cancle.html">
                                关闭订单
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.9" data-path="refund.html">
                            <a href="refund.html">
                                交易退款
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.10" data-path="notify.html">
                            <a href="notify.html">
                                异步通知
                            </a>
                        </li>
                        <li class="chapter " data-level="1.5.11" data-path="sign.html">
                            <a href="sign.html">
                                签名规则
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="chapter " data-level="1.6" data-path="../alipay_f2f/">
                    <a href="../alipay_f2f/index.html">
                        支付宝当面付
                    </a>
                    <ul class="articles">
                        <li class="chapter " data-level="1.6.1" data-path="../alipay_f2f/intro.html">
                            <a href="../alipay_f2f/intro.html">
                                产品介绍
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.2" data-path="../alipay_f2f/query_auth.html">
                            <a href="../alipay_f2f/query_auth.html">
                                授权查询
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.3" data-path="../alipay_f2f/pay.html">
                            <a href="../alipay_f2f/pay.html">
                                条码支付(用户被扫)
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.4" data-path="../alipay_f2f/precreate.html">
                            <a href="../alipay_f2f/precreate.html">
                                扫码支付(商家被扫)
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.5" data-path="../alipay_f2f/refund.html">
                            <a href="../alipay_f2f/refund.html">
                                交易退款
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.6" data-path="../alipay_f2f/query.html">
                            <a href="../alipay_f2f/query.html">
                                交易订单查询
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.7" data-path="../alipay_f2f/cancel.html">
                            <a href="../alipay_f2f/cancel.html">
                                取消订单
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.8" data-path="../alipay_f2f/close.html">
                            <a href="../alipay_f2f/close.html">
                                关闭订单
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.9" data-path="../alipay_f2f/notify.html">
                            <a href="../alipay_f2f/notify.html">
                                异步通知
                            </a>
                        </li>
                        <li class="chapter " data-level="1.6.10" data-path="../alipay_f2f/sign.html">
                            <a href="../alipay_f2f/sign.html">
                                签名规则
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="chapter " data-level="1.7" data-path="../sdk/">
                    <a href="../sdk/index.html">
                        IUPAYSDK
                    </a>
                    <ul class="articles">
                        <li class="chapter " data-level="1.7.1" data-path="../sdk/php.html">
                            <a href="../sdk/php.html">
                                PHP
                            </a>
                        </li>
                        <li class="chapter " data-level="1.7.2" data-path="../sdk/csharp.html">
                            <a href="../sdk/csharp.html">
                                C#
                            </a>
                        </li>
                        <li class="chapter " data-level="1.7.3" data-path="../sdk/java.html">
                            <a href="../sdk/java.html">
                                Java
                            </a>
                        </li>
                        <li class="chapter " data-level="1.7.4" data-path="../sdk/python.html">
                            <a href="../sdk/python.html">
                                python
                            </a>
                        </li>
                        <li class="chapter " data-level="1.7.5" data-path="../sdk/others.html">
                            <a href="../sdk/others.html">
                                其他语言SDK
                            </a>
                        </li>
                    </ul>
                </li>
                <li class="chapter " data-level="1.8" data-path="../plugin/">
                    <a href="../plugin/index.html">
                        IUPAY支付插件
                    </a>
                    <ul class="articles">
                        <li class="chapter " data-level="1.8.1" data-path="../plugin/discuz.html">
                            <a href="../plugin/discuz.html">
                                Discuz插件
                            </a>
                        </li>
                        <li class="chapter " data-level="1.8.2" data-path="../plugin/whmcs.html">
                            <a href="../plugin/whmcs.html">
                                WHMCS插件
                            </a>
                        </li>
                        <li class="chapter " data-level="1.8.3" data-path="../plugin/others.md">
<span>
其他源码插件
    </a>
                        </li>
                    </ul>
                </li>
                <li class="divider"></li>
                <li>
                    <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
                        Published with GitBook
                    </a>
                </li>
            </ul>
        </nav>
    </div>
<div class="book-body">
<div class="body-inner">
<div class="book-header" role="navigation">
<h1>
<i class="fa fa-circle-o-notch fa-spin"></i>
<a href="../index.html">关闭订单</a>
</h1>
</div>
<div class="page-wrapper" tabindex="-1" role="main">
<div class="page-inner">
<div id="book-search-results">
<div class="search-noresults">
<section class="normal markdown-section">
<h2 id="&#x53D6;&#x6D88;&#x8BA2;&#x5355;">&#x53D6;&#x6D88;&#x8BA2;&#x5355;</h2>
<ul>
<li><p><strong>&#x8BF7;&#x6C42;&#x5730;&#x5740;&#xFF1A;</strong><a href="https://pay.iuact.com/api/close" target="_blank">https://pay.iuact.com/api/close</a></p>
</li>
<li><p><strong>&#x8BF7;&#x6C42;&#x65B9;&#x5F0F;&#xFF1A;</strong>POST </p>
</li>
<li><p><strong>&#x8BF7;&#x6C42;&#x53C2;&#x6570;&#xFF1A;</strong> </p>
</li>
</ul>
<table>
<thead>
<tr>
<th>&#x5B57;&#x6BB5;</th>
<th>&#x5B57;&#x6BB5;&#x7C7B;&#x578B;</th>
<th>&#x662F;&#x5426;&#x5FC5;&#x586B;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>app_key</code></td>
<td>string</td>
<td>&#x662F;</td>
<td><code>app_key</code></td>
</tr>
<tr>
<td><code>order_sn</code></td>
<td>int</td>
<td>&#x5426;</td>
<td>&#x4E91;&#x5C14;&#x6613;&#x4ED8;&#x5E73;&#x53F0;&#x8BA2;&#x5355;&#x53F7;&#xFF0C;&#x4E0E;out_trade_no&#x4E8C;&#x9009;&#x4E00;</td>
</tr>
<tr>
<td><code>out_trade_no</code></td>
<td>string</td>
<td>&#x5426;</td>
<td>&#x7528;&#x6237;&#x81EA;&#x5B9A;&#x4E49;&#x8BA2;&#x5355;&#x7F16;&#x53F7;&#xFF0C;&#x4E0E;order_sn&#x4E8C;&#x9009;&#x4E00;</td>
</tr>
<tr>
<td><code>sign</code></td>
<td>string</td>
<td>&#x662F;</td>
<td>&#x7B7E;&#x540D;&#xFF0C;&#x5177;&#x4F53;&#x8BF7;&#x770B; <a href="sign.html">&#x7B7E;&#x540D;&#x89C4;&#x5219;</a></td>
</tr>
</tbody>
</table>
<ul>
<li>&#x54CD;&#x5E94;&#x7ED3;&#x679C;&#xFF08;&#x5931;&#x8D25;&#xFF09;&#xFF1A;</li>
</ul>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;code&quot;</span>: <span class="hljs-number">500</span>,
    <span class="hljs-string">&quot;message&quot;</span>: <span class="hljs-string">&quot;&#x5F53;&#x524D;&#x8BA2;&#x5355;&#x5DF2;&#x53D6;&#x6D88;&#x6216;&#x5DF2;&#x652F;&#x4ED8;&#x65E0;&#x6CD5;&#x7EE7;&#x7EED;&#x64CD;&#x4F5C;&quot;</span>
}
</code></pre>
<ul>
<li>&#x54CD;&#x5E94;&#x7ED3;&#x679C;&#xFF08;&#x6210;&#x529F;&#xFF09;&#xFF1A;</li>
</ul>
<pre><code class="lang-json">{
    <span class="hljs-string">&quot;code&quot;</span>: <span class="hljs-number">200</span>,
    <span class="hljs-string">&quot;message&quot;</span>: <span class="hljs-string">&quot;success&quot;</span>,
    <span class="hljs-string">&quot;data&quot;</span>: {
        <span class="hljs-string">&quot;status&quot;</span>: <span class="hljs-number">7</span>,
        <span class="hljs-string">&quot;total_fee&quot;</span>: <span class="hljs-number">1</span>,
        <span class="hljs-string">&quot;order_sn&quot;</span>: <span class="hljs-string">&quot;2019030321481112&quot;</span>,
        <span class="hljs-string">&quot;out_trade_no&quot;</span>: <span class="hljs-string">&quot;asdnjakj213ZSZXC&quot;</span>,
        <span class="hljs-string">&quot;status_text&quot;</span>: <span class="hljs-string">&quot;&#x5DF2;&#x53D6;&#x6D88;&quot;</span>,
        <span class="hljs-string">&quot;sign&quot;</span>: <span class="hljs-string">&quot;DA3180DEC304054EB142E93BB3008B41&quot;</span>
    }
}
</code></pre>
<ul>
<li><strong>&#x54CD;&#x5E94;&#x53C2;&#x6570;&#xFF1A;</strong></li>
</ul>
<table>
<thead>
<tr>
<th>&#x5B57;&#x6BB5;</th>
<th>&#x7C7B;&#x578B;</th>
<th>&#x5FC5;&#x987B;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>code</code></td>
<td>int</td>
<td>&#x662F;</td>
<td>&#x72B6;&#x6001;&#x7801;&#xFF0C;200&#x4E3A;&#x6210;&#x529F;&#xFF0C;&#x5176;&#x5B83;&#x4E3A;&#x5931;&#x8D25;</td>
</tr>
<tr>
<td><code>message</code></td>
<td>string</td>
<td>&#x662F;</td>
<td>&#x72B6;&#x6001;&#x6587;&#x672C;</td>
</tr>
</tbody>
</table>
<ul>
<li>&#x4E0B;&#x9762;&#x53C2;&#x6570;&#x662F;<strong>&#x8BF7;&#x6C42;&#x6210;&#x529F;&#x4E4B;&#x540E;&#x8FD4;&#x56DE;</strong>&#x7684;&#xFF1A;</li>
</ul>
<table>
<thead>
<tr>
<th>&#x5B57;&#x6BB5;</th>
<th>&#x7C7B;&#x578B;</th>
<th>&#x5FC5;&#x987B;</th>
<th>&#x8BF4;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>data.order_sn</code></td>
<td>string</td>
<td>&#x662F;</td>
<td>&#x4E91;&#x5C14;&#x6613;&#x4ED8;&#x5E73;&#x53F0;&#x8BA2;&#x5355;&#x53F7;</td>
</tr>
<tr>
<td><code>data.out_trade_no</code></td>
<td>string</td>
<td>&#x662F;</td>
<td>&#x5BA2;&#x6237;&#x81EA;&#x5B9A;&#x4E49;&#x8BA2;&#x5355;&#x53F7;</td>
</tr>
<tr>
<td><code>data.sign</code></td>
<td>string</td>
<td>&#x662F;</td>
<td>&#x7B7E;&#x540D;</td>
</tr>
<tr>
<td><code>data.status</code></td>
<td>string</td>
<td>&#x662F;</td>
<td>&#x4E91;&#x5C14;&#x6613;&#x4ED8;&#x5E73;&#x53F0;&#x8BA2;&#x5355;&#x72B6;&#x6001;&#xFF0C;&#x56FA;&#x5B9A;&#xFF1A;7</td>
</tr>
<tr>
<td><code>data.status_text</code></td>
<td>string</td>
<td>&#x662F;</td>
<td>&#x72B6;&#x6001;&#x6587;&#x672C;</td>
</tr>
<tr>
<td><code>data.total_fee</code></td>
<td>int</td>
<td>&#x662F;</td>
<td>&#x8BA2;&#x5355;&#x91D1;&#x989D;&#xFF0C;&#x5355;&#x4F4D;&#xFF1A;&#x5206;</td>
</tr>
</tbody>
</table>
</section>
</div>
<div class="search-results">
<div class="has-results">
<h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
<ul class="search-results-list"></ul>
</div>
<div class="no-results">
<h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
</div>
</div>
</div>
</div>
</div>
</div>
<a href="query.html" class="navigation navigation-prev " aria-label="Previous page: 交易订单查询">
<i class="fa fa-angle-left"></i>
</a>
<a href="refund.html" class="navigation navigation-next " aria-label="Next page: 交易退款">
<i class="fa fa-angle-right"></i>
</a>
</div>
<script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"关闭订单","level":"1.5.8","depth":2,"next":{"title":"交易退款","level":"1.5.9","depth":2,"path":"wechat_xiaowei/refund.md","ref":"wechat_xiaowei/refund.md","articles":[]},"previous":{"title":"交易订单查询","level":"1.5.7","depth":2,"path":"wechat_xiaowei/query.md","ref":"wechat_xiaowei/query.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"wechat_xiaowei/cancle.md","mtime":"2019-08-29T06:31:38.803Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-08-29T06:38:36.818Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>
<script src="../gitbook/gitbook.js"></script>
<script src="../gitbook/theme.js"></script>
<script src="../gitbook/gitbook-plugin-search/search-engine.js"></script>
<script src="../gitbook/gitbook-plugin-search/search.js"></script>
<script src="../gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
<script src="../gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
<!--<script src="../gitbook/gitbook-plugin-sharing/buttons.js"></script>-->
<script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
</body>
</html>
